CONFIGFLAGS=$(shell pkg-config --cflags gtk+-2.0)

all: unix-spawner-ex.so dggl.so

dggl.so:dbgl.c
	gcc -g -shared -o dbgl.so dbgl.c -I../../include -L../../lib/liblua.a

unix-spawner-ex.so: unix-spawner-ex.c
	gcc -g $(CONFIGFLAGS) -shared -o unix-spawner-ex.so -I../../include unix-spawner-ex.c -lutil
    
clean:
	rm -f *.so

l
